priv->gicon,
priv->icon_size);
}
- else if (priv->icon_name)
+ else if (priv->icon_name)
{
priv->pending_texture = st_texture_cache_load_icon_name (cache,
theme_node,
CLUTTER_ACTOR_CLASS (st_table_parent_class)->allocate (self, box, flags);
if (priv->n_cols < 1 || priv->n_rows < 1)
- {
- return;
- };
+ return;
st_theme_node_get_content_box (theme_node, box, &content_box);
static void
on_theme_context_changed (StThemeContext *context,
- ClutterStage *stage)
+ ClutterStage *stage)
{
notify_children_of_style_change (CLUTTER_CONTAINER (stage));
}
}
static gboolean
-st_widget_get_paint_volume (ClutterActor *self, ClutterPaintVolume *volume)
+st_widget_get_paint_volume (ClutterActor *self,
+ ClutterPaintVolume *volume)
{
ClutterActorBox paint_box, alloc_box;
StThemeNode *theme_node;
if (!clutter_actor_has_allocation (self))
return FALSE;
- priv = ST_WIDGET(self)->priv;
+ priv = ST_WIDGET (self)->priv;
- theme_node = st_widget_get_theme_node (ST_WIDGET(self));
+ theme_node = st_widget_get_theme_node (ST_WIDGET (self));
clutter_actor_get_allocation_box (self, &alloc_box);
if (priv->transition_animation)